#include <stdio.h>
#include <stdlib.h>

class cPDFScan
{
public:
	cPDFScan(BYTE[] bytes, long FileSize);
	cPDFScan(char* pdfPath);
	cPDFScan();
	~cPDFScan();

	BOOL IsMalware();
	BOOL IsWord(int pos, char* keyWord);
	BOOL IsChar(char* tempbuff, char keyChar);
	BOOL DoPDFScan();

private:
	BOOL bMalware;
	unsigned char* cFileBuff;
	int JSpos[10];
	int jsnum;

	BOOL scanObj();
};